package com.spsy.pojo;

import lombok.Data;

/**
 * @Author: Sokai
 * @Date: 2024/10/23 22:21
 * @Description:
 **/
@Data
public class Employee {
    private String name;

    private Department department;

    public Department getDepartment() {
        return department;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public Employee(Department department) {
        this.department = department;
    }

    public Employee(String name, Department department) {
        this.name = name;
        this.department = department;
    }
}
